package com.poh.service;

import com.poh.pojo.Course;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CourseService {
    List<Course> getCourseByUserId(@Param("userId") int userId);
    public List<Course> getCourseByTeach(int userId);
    int createCourse(Course course);
    Course getCourseByCourseId(@Param("courseId") int courseId);
    int updateImgByCourseId(@Param("courseId") int courseId, @Param("courseImg") String courseImg);
}
